#pragma once
#include "Stdafx.h"

typedef /*__success(return >= 0)*/ LONG NTSTATUS; 
typedef NTSTATUS *PNTSTATUS; 

#define STATUS_SUCCESS  ((NTSTATUS)0x00000000L)

void Hook();
void UnHook();
HWND FindClockHwnd();
LRESULT CALLBACK GetMessageProc(int message,WPARAM wParam,LPARAM lParam);
BOOL EnablePrivilgeW(LPCWSTR lpName, BOOL fEnable);
BOOL RtlAdjustPrivilege(ULONG lpName, BOOL fEnable);

typedef NTSTATUS (* P_RtlAdjustPrivilege)
 (
  ULONG    Privilege,
  BOOLEAN  Enable,
  BOOLEAN  CurrentThread,
  PBOOLEAN Enabled
 );
